package com.hc.service;

import com.github.pagehelper.PageInfo;
import com.hc.bean.SysRoleBean;
import com.hc.bean.SysUserBean;

import java.util.List;

public interface SysRoleService {

    int insertData(SysRoleBean sysRoleBean);

    List<SysRoleBean> queryData(SysRoleBean sysRoleBean);
    PageInfo<SysRoleBean> queryDataByPage(SysRoleBean sysRoleBean,int pageNum,int pageSize);

    int updateData(SysRoleBean sysRoleBean);
}
